package com.huike.mapper;

import com.huike.entity.Role;

import java.util.List;

public interface RoleMapper {
    List<Role> getAll();

//    int saveOrUpdate(Role role,Long[] permissionIds);

    Role getRoleById(Long id);

    void insert(Role role);

     void deleteById(Long id);
}
